<?php
include ('accesBDD.php');
	class Infocompte {
	private $email;

	//Un constructeur	
	public function __construct ($email) {
	$this->email = $email;
	}
		public function info() {
		
		$req = "SELECT*FROM utilisateur WHERE (email='$this->email')";
		$itsOk= mysql_query($req);
		$tuple = mysql_fetch_array($itsOk);
		return($tuple);
		}
	}
		
		
		

?>
